<!DOCTYPE HTML>
<head>
	<meta http-equiv="content-type" content="text/html" charset="UTF-8" />
	<title>Đăng nhập</title>

	<!--Load CSS file-->
	<link rel="stylesheet" type="text/css" href="<?=base_url()?>assets/backend/css/reset.css" />
    <link rel="stylesheet" type="text/css" href="<?=base_url()?>assets/backend/css/login_style.css" />

	<!--Load JavaScript file-->

</head>

<body id="login">
	<div id="wrapper">
		<p id="login-title">Login page</p>

		<div id="login-input">
			<p id="notifi">Điền chính xác các thông tin dưới đây.</p>
			<form action="<?=base_url()?>backend/auth/login" method="POST" autocomplete="off">
			<ul class="input">
				<li class="input-label">Tên đăng nhập</li>
				<li class="input-text"><input type="text" value="" name="uname" /></li>
			</ul>
			<?=form_error('uname','<li class="errors">','</li>')?>
			<ul class="input">
				<li class="input-label">Email</li>
				<li class="input-text"><input type="text" value="" name="email" /></li>
			</ul>
			<?=form_error('email','<li class="errors">','</li>')?>
			<ul class="input">
				<li class="input-label">Mật khẩu</li>
				<li class="input-text"><input type="password" value="" name="pass" /></li>
			</ul>
            <?=form_error('pass','<li class="errors">','</li>')?>

            <?php if(isset($msg) AND $msg != ''):?>

                <li class="errors"><?=$msg?></li>

            <?php endif;?>

			<p><input class="button_login" type="submit" value="Đăng nhập" /></p>
            </form>
		</div><!--End of #login-input-->

	</div><!--End of #wrapper-->

</body>

</html>